home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-07 / srvtst.zip / SRVRTST.DOC < prev    next >
Text File  |  1993-06-23  |  4KB  |  115 lines

  1. SRVRTST.EXE
  2.    LANtastic v 5.0 offers a new deferred login feature.  While this is a
  3.    nice feature it does have a few rough edges.  One is that if a
  4.    server that was logged into with the deferred switch is accessed before
  5.    the server comes on line, a critical error will be generated.  There
  6.    is no way to test if a server that has been logged into with the 
  7.    deferred switch is now active without generating a critical error . . .
  8.    until now.
  9.  
  10.    Srvrtst will test a server whose name is entered on the command line,
  11.    if the workstation is logged into the server and the server is active
  12.    srvrtst will return an error level of 0.
  13.  
  14.    If the workstation is logged into the server BUT the server is currently
  15.    unavailable, srvrtst will return an error of 1.
  16.  
  17.    If the workstation is NOT logged into the server srvrtst will return an
  18.    error level of 2.
  19.  
  20.    Assume that you have a workstation and two servers, sam and george.
  21.    Sam is active and george has not been turned on yet. You issue the 
  22.    commands:
  23.  
  24.    Net login/deferred \\sam
  25.    net login/deferred \\george
  26.  
  27.    
  28.    SRVRTST SAM will return an error level of 0
  29.    SRVRTST GEORGE will return an error level of 1
  30.    SRVRTST BILLY will return an error level of 2
  31.  
  32. The following batch file shows how this command can be used
  33.  
  34. test.bat
  35. @echo off
  36. srvrtst %1
  37.  
  38. if errorlevel==2 goto notserver
  39. if errorlevel==1 goto unserver
  40.  
  41. echo Server %1 available for use
  42. goto end
  43. :unserver
  44. echo Server %1 unavailable for use
  45. goto end
  46. :notserver
  47. echo Not logged into server %1
  48. :end
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56. Legalities
  57.    SRVRTST.EXE is not freeware, nor is it in the public domain.  It is a
  58.    shareware program, and the entire program and documentation are
  59.    Copyright (C) 1993 Rick R. Roth, Tucson, Az.  You are encouraged
  60.    to copy the package freely, including distribution by BBS, shareware
  61.    library, or other means, provided that (1) the distribution shall
  62.    consist of the original archive containing the program and this doc-
  63.    umentation file, and (2) no fee of more than five US dollars ($5)
  64.    shall be charged for the copy.
  65.  
  66. Registration
  67.    
  68.    To register your copy of Reconect.EXE, send a postcard to:
  69.    
  70.    Rick R. Roth
  71.    P.O. Box 5011
  72.    Tucson, Az 85703
  73.    
  74.    THIS COPY IS LICENSED FOR THE EXCLUSIVE USE OF THE LICENSEE.  
  75.    This license is good for one network, and the software can be installed
  76.    on all computers on this network.
  77.  
  78. Liability
  79.  
  80.  ╔═══════════════════════════════════════════════════════════════╗
  81.  ║                                                               ║
  82.  ║                    LIMIT OF LIABILITY                         ║
  83.  ║                    ──────────────────                         ║
  84.  ║      The author disclaims all warranties, expressed or        ║
  85.  ║ implied and assumes no liability for damages either from its  ║
  86.  ║ direct use or as a consequence of its use.  Have you hugged   ║
  87.  ║ your backup today?                                            ║
  88.  ║                                                               ║
  89.  ╚═══════════════════════════════════════════════════════════════╝
  90.  
  91.  
  92.  I have tested it on several computers and found that found that it works 
  93.  well on all of them.  All computers have been running LANtastic(tm) NOS v5.0
  94.  and above and all running MS DOS 3.3 and above.
  95.  
  96.  Please note that while the author is an employee of Artisoft, Inc., Artisoft 
  97.  is not responsible for the contents of this file; the functioning of ANET.EXE 
  98.  (or any damages resulting from the use or misuse of the program); and further, 
  99.  Artisoft Technical Support and other employees of Artisoft, Inc. are 
  100.          
  101.                 NOT RESPONSIBLE FOR SUPPORTING THIS PROGRAM!  
  102.          
  103.   If you have problems or suggestions when using this program, direct them to 
  104.   me Rick R. Roth through one of the following channels:
  105.  
  106.         US Mail:          P.O. Box 5011,  Tucson, AZ  85703
  107.         CompuServ:        Artisoft forum, 75300,1377
  108.         Arti-facts BBS:   If you have a current account there.
  109.  
  110.  
  111.   Do NOT call the author during business hours for support, this program was
  112.   not written during business hours, it will not be supported during business 
  113.   hours.
  114.  
  115.